<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>天众供应链云仓储管理系统</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Common/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Common/easyui/css/admin.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Common/easyui/themes/icon.css">
	<script type="text/javascript" src="__PUBLIC__/Common/easyui/js/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Common/easyui/js/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Common/easyui/js/easyloader.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Common/easyui/js/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Common/easyui/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Common/easyui/js/extends.js"></script>
	
	<script type="text/javascript" src="__PUBLIC__/Common/easyui/js/datagrid-detailview.js"></script>
	<script type="text/javascript" src="__PUBLIC__/default/js/LodopFuncs.js"></script>
	<script type="text/javascript" src="__PUBLIC__/default/js/index.js"></script>
	
	<style>
	.footer {
		text-align: center;
		color: #15428B;
		margin: 0px;
		padding: 0px;
		line-height: 23px;
		font-weight: bold;
	}
	.topLine{
		overflow: hidden;
		height: 43px;
		line-height: 20px;
		color: rgb(255, 255, 255);
		font-family: Verdana, 微软雅黑, 黑体;
		background: url(__PUBLIC__/default/img/layout-browser-hd-bg.gif) 50% 50% repeat-x rgb(127, 153, 190);
	}
	.topLine .fr a{
		color:#fff;
	}

	</style>
	<script>
	//列表
	var getgoodsUrl="{:U('Stock/get_goods')}";//商品列表
	var getpackagematerialbooksUrl="{:U('Stock/get_packagematerialbooks')}";//商品列表
	//常用列表
		var storageListUrl="{:U('Tablelist/ajax_storagelist')}";//库位列表
		var depotListUrl="{:U('Tablelist/ajax_depotlist')}";//仓库列表
		var erplistUrl="{:U('Tablelist/ajax_erplist')}";//erp列表
		var bookscateUrl="{:U('Tablelist/ajax_bookscate')}";//账册类别
		var authruleUrl="{:U('Tablelist/ajax_authrule')}";//规则列表
		var CoinlistUrl="{:U('Tablelist/ajax_coin')}";//获得币制
		var CountrylistUrl="{:U('Tablelist/ajax_country')}";//获得国家
		var UnitlistUrl="{:U('Tablelist/ajax_unit')}";//获得单位
		var SectionlistUrl="{:U('Tablelist/ajax_section')}";//获得部门列表
		var PersonnellistUrl="{:U('Tablelist/ajax_personnel')}";//获得员工列表
		var ContactsCompanylistUrl="{:U('Tablelist/ajax_contactscompany')}";//获得往来单位列表
		var BoundCatelistUrl="{:U('Tablelist/ajax_boundcate')}";//获得出入库类别列表
		var BoundCatelistUrl2="{:U('Tablelist/ajax_outboundcate')}";//获得出出库类别列表
		var interceptkeylistUrl="{:U('Tablelist/ajax_interceptkey')}";//拦截key列表
		var manualistUrl="{:U('Tablelist/ajax_manualist')}";//账册列表
	//获得当前对应名称
		var getStorageUrl="{:U('Tablelist/get_storage')}";//获得库位名称
		var getDepotUrl="{:U('Tablelist/get_depot')}";//获得仓库名称
		var getErpNameUrl="{:U('Tablelist/get_erpname')}";//获得erp名称
		var getCoinUrl="{:U('Tablelist/get_coin')}";//获得币制
		var getCountryUrl="{:U('Tablelist/get_country')}";//获得国家
		var getUnitUrl="{:U('Tablelist/get_unit')}";//获得单位
		var getSectionNameUrl="{:U('Tablelist/get_sectionname')}";//获得对应部门名称
		var getPersonnelNameUrl="{:U('Tablelist/get_personnelname')}";//获得对应员工姓名
		var getContactsCompanyNameUrl="{:U('Tablelist/get_contactscompanyname')}";//获得对应往来单位名称
		var getBoundCateNameUrl="{:U('Tablelist/get_boundcatename')}";//获得对应出入库类别名称
		var getInterceptkeyUrl="{:U('Tablelist/get_interceptkey')}";//获得仓库名称
		var getLogisticsUrl="{:U('Tablelist/get_logistics')}";//获得仓库名称
		
	//刷新当前标签Tabs
		function RefreshTab(currentTab) {
			<!-- var url = $(currentTab.panel('options')).attr('href'); -->
			<!-- //alert(url); -->
			<!-- $('#Tabs').tabs('update', { -->
				<!-- tab: currentTab, -->
				<!-- options: { -->
					<!-- href: url -->
				<!-- } -->
			<!-- }); -->
			currentTab.panel('refresh');
		}
		function showTab(url,title){
	  		var id = arguments[2] ? arguments[2] : null;
			var cid = arguments[3] ? arguments[3] : null;
			//设置id为showTab的第三个参数，默认值为null,类似php中showTab(url,title,id=null)这种写法
			<!-- alert(id); -->
			<!-- alert(cid); -->
			if(id!==null && cid!==null){
				url=url+"&id="+id+"&cid="+cid;
			}
			if(id!==null && cid===null){
				url=url+"&id="+id;
			}
			if(id===null && cid!==null){
				url=url+"&cid="+cid;
			}
			<!-- alert(url); -->
			if ($('#Tabs').tabs('exists',title)){
				//带参数时先关闭选项卡再打开
				if(id!==null || cid!==null){
					$('#Tabs').tabs('close',title);
					$('#Tabs').tabs('add',{
						title:title,
						href:url,
						closable:true,
						tools:[{
							iconCls:'icon-mini-refresh',    
							handler:function(){    
								var currentTab = $('#Tabs').tabs('getSelected');
								RefreshTab(currentTab);
							}
						}],
						onLoadError:function(data){
							var info=eval('('+data.responseText+')');
							$.messager.confirm('错误提示',info.message,function(r){
								$('#Tabs').tabs('close',title);
							});
							return false;
						}
					});
				}else{
					$('#Tabs').tabs('select',title);
				}
			} else {
				$('#Tabs').tabs('add',{
					title:title,
					href:url,
					closable:true,
					tools:[{
						iconCls:'icon-mini-refresh',    
						handler:function(){    
							var currentTab = $('#Tabs').tabs('getSelected');
							RefreshTab(currentTab);
						}    
					}],
					onLoadError:function(data){
						var info=eval('('+data.responseText+')');
						$.messager.confirm('错误提示',info.message,function(r){
							$('#Tabs').tabs('close',title);
						});
						return false;
					}	
				});
			}
			
		}
	</script>
</head>
<body>
	<div class="easyui-layout" id="layout" data-options="fit:true">
		<div  data-options="region:'north'" border="false">
			<div class="topLine">
							<p class="fl"><span class="icon icon-users">&nbsp;</span>仓库编码：({$Think.session.warehouse_code})&nbsp;&nbsp;&nbsp;仓库名称：({$Think.session.warehouse_name})&nbsp;&nbsp;&nbsp;用户：管理员({$Think.session.username})&nbsp;&nbsp;&nbsp;<span class="icon icon-role">&nbsp;</span>角色：{$Think.session.gname}&nbsp;&nbsp;&nbsp;<span class="icon icon-clock">&nbsp;</span>登陆时间：{$Think.session.logintime|date='Y-m-d H:i:s',###}</p>
							<p class="fr">
								<span class="icon icon-arrow_refresh">&nbsp;</span><a  title="更新缓存" href="javascript:void(0)" onclick="clearCache()">更新缓存</a>
								<span class="icon icon-email">&nbsp;</span><a title="消息" href="#">消息</a>
								<a href="javascript:void(0)" onclick="showTab('{:U('Auth/baseConfig')}','基本设置')"><span class="icon icon-set">&nbsp;</span><span class="nav">设置</span></a>
								<span class="icon icon-door_out">&nbsp;</span><a title="退出" href="javascript:void(0)" onclick="logout()">退出</a>
							</p>
			</div>
			
		</div>
		<div data-options="region:'south',split:true" style="height: 30px;background: rgb(210, 224, 242);">
			<div class="footer">天众云仓管理系统      Power by 天众供应链</div>
		</div>
	<!-- 商品列表 -->
	<div id="indexgoodsAddDialog" class="easyui-dialog datagrid-pager-form" title="商品列表" style="width:800px;height:500px;"
        closed="true" buttons="#indexgoodsAddButtons"  modal="true">
		<table id="indexgoodsDatagrid" toolbar="#indexgoods_tb"></table>
		<!-- 商品列表搜索栏 -->
		<div id="indexgoods_tb">
			<form id="indexgoodsSearchForm" method="post" novalidate>
				 <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon icon-all" plain="true" onclick="indexgoodsObj.showAll()">全部</a>   
				商品编码:<input class="easyui-textbox" name="goods_no" style="width:150px;height:30px;"> 
				商品名称:<input class="easyui-textbox" name="goods_name" style="width:150px;height:30px;"> 
				条形码:<input class="easyui-textbox" name="bar_code" style="width:150px;height:30px;">
				<a href="#" class="easyui-linkbutton searchBar" iconCls="icon-search" style="height:30px;">搜索</a>
			</form>
		</div>
    </div>
    <!-- /商品列表 -->
		<div data-options="region:'west',split:true," title="导航菜单" style="width:220px;">
		 	<div class="easyui-accordion">
		        <div title="入库管理" data-options="iconCls:'icon icon-basket_put',selected:true" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Order/arrival')}','到货通知')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">到货通知
											<!-- <span class="red bold">&nbsp;(3)<span> -->
											</span></a>
		        						</li>
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Order/confirm_arrival')}','确认到货')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">确认到货</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Order/inboundPlan')}','入库单')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">入库单(跨境)</span></a>
		        						</li>
		        	</ul>
		        </div>
				<div title="库内管理" data-options="iconCls:'icon-basket'" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/grounding')}','商品上架')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">商品上架</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/goods')}','商品详细')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">商品详细</span></a>
		        						</li>
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/moveStorage')}','商品移库')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">商品移库</span></a>	
		        						</li>
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/moveDepot')}','仓库调拨')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">仓库调拨</span></a>
		        							
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/otherInbound')}','其它入库')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">其它入库</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/otherOutbound')}','其它出库')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">其它出库</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/checkStock')}','盘库')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">盘库</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/storage')}','库位管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">库位管理</span></a>
		        						</li>
										<!-- <li> -->
		        							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Auth/rule')}','商品溯源')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">商品溯源</span></a> -->
		        						<!-- </li> -->
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/overdue')}','保质期管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">保质期管理</span></a>
		        						</li>
		        	</ul>
		        </div> 
		        <div title="出库管理" data-options="iconCls:'icon-basket_remove'" style="padding:10px;">
		           	<ul class="navlist">
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Outbound/pushorder')}','波次单')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">波次单</span></a>
		        						</li>
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('ScanOrder/index_iframe')}','配货/复核')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">配货/复核</span></a>	
		        						</li>
		        						<li>
		        							<a  href="javascript:void(0)" onclick="showTab('{:U('ScanOrder/packing_iframe')}','打包')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">打包</span></a>
		        						</li>
										<li>
		        							<a  href="javascript:void(0)" onclick="showTab('{:U('ScanOrder/weighting_iframe')}','称重')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">称重</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Outbound/printorder_green')}','面单管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">面单管理</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Outbound/printorder')}','面单管理(绿色通道)')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">面单管理(绿色通道)</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Outbound/pushorderlist')}','订单管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">订单管理</span></a>
		        						</li>
										
		        	</ul>
		        </div> 
				<div title="仓库管理" data-options="iconCls:'icon-house'" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Depot/books')}','账册管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">账册管理</span></a>
		        						</li>
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Depot/erp')}','ERP企业管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">ERP企业管理</span></a>	
		        						</li>
		        						<!-- <li> -->
		        							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Auth/rule')}','物流管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">物流管理</span></a> -->
		        							
		        						<!-- </li> -->
										<!-- <li> -->
		        							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Auth/rule')}','商品分类')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">商品分类</span></a> -->
		        						<!-- </li> -->
										<!-- <li> -->
		        							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Auth/rule')}','废品管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">废品管理</span></a> -->
		        						<!-- </li> -->
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Stock/material')}','耗材管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">耗材管理</span></a>
		        						</li>
										<!-- <li> -->
		        							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Auth/rule')}','财务管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">财务管理</span></a> -->
		        						<!-- </li> -->
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Depot/section')}','部门管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">部门管理</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Depot/personnel')}','员工管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">员工管理</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Depot/contactsCompany')}','往来单位')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">往来单位</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Intercepted/Intercepted')}','拦截管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">拦截管理</span></a>
		        						</li>
										
		        	</ul>
		        </div> 
				<div title="物流管理" data-options="iconCls:'icon icon-lorry',selected:true" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
		        			<li>
		        				<a href="javascript:void(0)" onclick="showTab('{:U('Logistics/car')}','车辆管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">车辆管理
								<!-- <span class="red bold">&nbsp;(3)<span> -->
								</span></a>
		        			</li>
		        			<li>
		        				<a href="javascript:void(0)" onclick="showTab('{:U('Logistics/logistics')}','公司备案')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">公司备案</span></a>
		        			</li>
		        	</ul>
		        </div> 
				<div title="生产管理" data-options="iconCls:'icon icon-wrench',selected:true" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
		        			<li>
		        				<a href="javascript:void(0)" onclick="showTab('{:U('Product/productorder')}','生产计划单')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">生产计划单
								<!-- <span class="red bold">&nbsp;(3)<span> -->
								</span></a>
		        			</li>
							<li>
		        				<a href="javascript:void(0)" onclick="showTab('{:U('Product/materialscrap')}','损耗/边角料')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">损耗/边角料
								<!-- <span class="red bold">&nbsp;(3)<span> -->
								</span></a>
		        			</li>
		        						
		        	</ul>
		        </div> 
				<div title="财务管理" data-options="iconCls:'icon-book'" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Finance/finance')}','财务查询')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">财务查询</span></a>
		        						</li>
					</ul>
				</div>
				<div title="统计视图" data-options="iconCls:'icon-chart_curve'" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Statistics/index_iframe')}','库存统计')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">库存统计</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Statistics/index_iframe')}','财务统计')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">财务统计</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Statistics/index_iframe')}','订单统计')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">订单统计</span></a>
		        						</li>
					</ul>
				</div>
				<div title="快件管理" data-options="iconCls:'icon-car'" style="overflow:auto;padding:10px;">
		            <ul class="navlist">
		        						<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Bag/inbound')}','包裹入库')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">包裹入库</span></a>
		        						</li>
										<li>
		        							<a href="javascript:void(0)" onclick="showTab('{:U('Barcode/make_barcode_iframe')}','条码生成')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">条码生成</span></a>
		        						</li>
		        						<!-- <li> -->
		        							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Bag/outbound')}','包裹出库')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">包裹出库</span></a>	 -->
		        						<!-- </li> -->
		        						<!-- <li> -->
		        							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Bag/list')}','包裹管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">包裹管理</span></a> -->
		        						<!-- </li> -->
		        	</ul>
		        </div>
		        <div title="系统设置" data-options="iconCls:'icon-cog'" style="padding:10px;">
		           	<ul class="navlist">
						<li>
							<a href="javascript:void(0)" onclick="showTab('{:U('Auth/baseConfig')}','基本设置')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">基本设置</span></a>
						</li>
						<li>
							<a href="javascript:void(0)" onclick="showTab('{:U('Auth/index')}','用户管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">用户管理</span></a>
						</li>
						<li>
							<a href="javascript:void(0)" onclick="showTab('{:U('Auth/group')}','角色管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">角色管理</span></a>
						</li>
						<li>
							<a href="javascript:void(0)" onclick="showTab('{:U('Auth/rule')}','规则管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">规则管理</span></a>
						</li>
					</ul>
		        </div>
		        <!-- <div title="会员模块" data-options="iconCls:'icon-search'" style="padding:10px;"> -->
					<!-- <ul class="navlist"> -->
						<!-- <li> -->
							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Member/index')}','会员管理')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">会员管理</span></a> -->
						<!-- </li> -->
						<!-- <li> -->
							<!-- <a href="javascript:void(0)" onclick="showTab('{:U('Member/group')}','管理会员组')"><span class="icon icon-layout_content">&nbsp;</span><span class="nav">会员组管理</span></a> -->
						<!-- </li> -->
					<!-- </ul> -->
		        <!-- </div> -->
				

		    </div>

		</div>

	 
		<div id="Tabs" class="easyui-tabs" data-options="region:'center',border:'false'">
		    <div title="首页" style="padding:10px">
	            <p style="font-size:14px">欢迎登陆天众供应链仓储管理系统！</p>
	            <ul>
	                <li>欢迎登陆天众供应链仓储管理系统</li>
	                
	            </ul>	            
	       	</div>
		</div>
	<script type="text/javascript">
		//退出
		function logout(){
			var url="{:U('Index/logout')}";
			$.ajax({
                async:false,
                type:"get",
                url:url,
                success: function(result){
                	if(result.status) location.href="{:U('Index/index')}";
                }
            });
		}

		//清除缓存
		function clearCache(){
			var url="{:U('system/clearCache')}";
			$.ajax({
                async:false,
                type:"get",
                url:url,
                success: function(result){
                	if(result.status) $.messager.confirm('提示消息','缓存更新成功!',function(r){location.href="{:U('Index/index')}";}); 
                	
                }
            });
		}
	</script>
</div>
</body>
</html>